package com.kcht.itsed.mws.commmodel;

import java.util.Arrays;
import java.util.List;

/**
 * 物理阅读器模板
 * 当前就是定义了天线及协议，后续可能扩展
 * 
 * @author 张文硕
 *
 */
public class PhysicalReaderTemplate {
	
	public class AntennaProtocolTemplate{
		private int antennaNo;
		private List<String> protocolList;
		
		public AntennaProtocolTemplate(int antennaNo, String[] protocols) {
			this.antennaNo = antennaNo;
			this.protocolList = Arrays.asList(protocols);
		}
		
		public int getAntennaNo() {
			return antennaNo;
		}
		public void setAntennaNo(int antennaNo) {
			this.antennaNo = antennaNo;
		}
		public List<String> getProtocolList() {
			return protocolList;
		}
		public void setProtocolList(List<String> protocolList) {
			this.protocolList = protocolList;
		}
	}
	
	private List<AntennaProtocolTemplate> antennaTemplateList;	//天线号-协议列表

	public List<AntennaProtocolTemplate> getAntennaTemplateList() {
		return antennaTemplateList;
	}


	public void setAntennaTemplateList(
			List<AntennaProtocolTemplate> antennaTemplateList) {
		this.antennaTemplateList = antennaTemplateList;
	}
	
}
